//
//  HDCarefulViewController.m
//  OTIS_MD
//
//  Created by 何达达 on 2017/8/17.
//  Copyright © 2017年 hedada. All rights reserved.
//

#import "HDCareViewController.h"
#import "HDCarefulView.h"
#import "HDNextBottomView.h"
#import "HDSVTViewController.h"
@interface HDCareViewController ()

@end

@implementation HDCareViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationController.navigationBar.backItem.title = @"";
    self.title = @"操作步骤";
    [self setup];
}
-(void)viewWillAppear:(BOOL)animated
{
  
    

}
-(void)setup{
    HDCarefulView *careful = [HDCarefulView instanceCarefulView];
    careful.frame = CGRectMake(0, 120, SCREEN_WIDTH, 280);
    careful.checkLabel.textColor = MDColor(37, 63, 96, 1.0);
    careful.recordLabel.textColor = MDColor(37, 63, 96, 1.0);
    careful.backupsLabel.textColor = MDColor(37, 63, 96, 1.0);
    careful.downLoadlabel.textColor = MDColor(37, 63, 96, 1.0);
    careful.repeatLabel.textColor = MDColor(37, 63, 96, 1.0);
    careful.completeLabel.textColor = MDColor(37, 63, 96, 1.0);
    [self.view addSubview:careful];
    
    HDNextBottomView *next = [HDNextBottomView instanceNextBottomView];
    next.nextBlcok = ^(UIButton *button){
         HDSVTViewController *svt = [[HDSVTViewController alloc]init];
         [self.navigationController pushViewController:svt animated:YES];
    };
    next.frame = CGRectMake(0,SCREEN_HEIGHT - 64 , SCREEN_WIDTH, 64);
    [self.view addSubview:next];

}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
